(function(angular) {
	'use strict';
	angular.module('fs.waf').controller('waf.errorController', errorController);

	errorController.$inject = [ '$scope', '$q', 'Constants', 'layoutConfig', 'authService', 'validatorConfig' ];
	function errorController($scope, $q, Constants, layoutConfig, authService, validatorConfig) {
		var ctrl = this;
		ctrl.errorConfig = layoutConfig;
		ctrl.validatorConfig = validatorConfig;
		ctrl.error = $scope.$stateParams.params;
	}
})(angular);